package com.chenxi.model;

import java.io.Serializable;
import java.sql.Date;

/**
 * Created by BEYOND on 2017/7/17.
 */
public class User implements Serializable{

    private Long Id;
    private String username;
    private String password;
//    emailvarchar(150) NULL
    private String email;
//    create_timetimestamp NULL创建时间
    private Date createTime;
//    create_byint(11) NULL创建人
    private Long createBy;
//    update_timetimestamp NULL修改时间
    private Date updateTime;
//    update_byint(11) NULL修改人
    private Long updateBy;
//    enabledbit(1) NOT NULL是否可用（1-是，0-否）
//    account_non_expiredbit(1) NOT NULL
//    account_non_lockedbit(1) NOT NULL
//    credentials_non_expiredbit(1) NOT NULL

    public Long getId() {
        return Id;
    }

    public void setId(Long id) {
        Id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
    }
}
